Class sjl.wrappers.FuncTextReaderBoolean
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sjl.wrappers.FuncTextReaderBoolean

java.lang.Object
   |
   +----sjl.wrappers.FuncTextReaderBoolean

public class FuncTextReaderBoolean
extends Object
implements Function1
FuncTextReaderBoolean is a function object designed for reading objects of type Boolean from a DataInputStream. Each call to this object will read a line from the stream which is then converted into an object of type Boolean. Objects of this class is used by the InputStreamIterator.

Copyright © 1996 Finn Bock


Constructor Index

 o FuncTextReaderBoolean()

Method Index

 o perform(Object)
Create a object of type Boolean and initialize it with the next Boolean read from the argument stream.

Constructors

 o FuncTextReaderBoolean
  public FuncTextReaderBoolean()

Methods

 o perform
  public Object perform(Object stream)
Create a object of type Boolean and initialize it with the next Boolean read from the argument stream. An entire line is read in. The return value is ignored.
Parameters:
stream - The DataInputStream.

All Packages  Class Hierarchy  This Package  Previous  Next  Index